package org.example.spring.carsalemanagementsystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 附属品
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Accessory {
    private String accessoryid;
    private String name;
    private String carid;
    private double price;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createtime;
}
